<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>OpenIG: Core-Base/ImageGenerator.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="openig_logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">OpenIG
   &#160;<span id="projectnumber">2.0.7</span>
   </div>
   <div id="projectbrief">cross-platform open-source OpenSceneGraph Image Generator</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_03afdc99cb57c147418d8186cf7c037f.html">Core-Base</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">ImageGenerator.h</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">//#******************************************************************************</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">//#*</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">//#*      Copyright (C) 2015  Compro Computer Services</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">//#*      http://openig.compro.net</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">//#*</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">//#*      Source available at: https://github.com/CCSI-CSSI/MuseOpenIG</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">//#*</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">//#*      This software is released under the LGPL.</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">//#*</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">//#*   This software is free software; you can redistribute it and/or modify</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">//#*   it under the terms of the GNU Lesser General Public License as published</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">//#*   by the Free Software Foundation; either version 2.1 of the License, or</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment">//#*   (at your option) any later version.</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment">//#*</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment">//#*   This software is distributed in the hope that it will be useful,</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment">//#*   but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment">//#*   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment">//#*   the GNU Lesser General Public License for more details.</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment">//#*</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment">//#*   You should have received a copy of the GNU Lesser General Public License</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment">//#*   along with this library; if not, write to the Free Software</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment">//#*   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment">//#*</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment">//#*    Please direct any questions or comments to the OpenIG Forums</span></div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment">//#*    Email address: openig@compro.net</span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="comment">//#*</span></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="comment">//#*</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="comment">//#*    Please direct any questions or comments to the OpenIG Forums</span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="comment">//#*    Email address: openig@compro.net</span></div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="comment">//#*</span></div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="comment">//#*</span></div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="comment">//#*****************************************************************************</span></div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="preprocessor">#ifndef IMAGEGENERATOR_H</span></div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="preprocessor">#define IMAGEGENERATOR_H</span></div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor">#if defined(OPENIG_SDK)</span></div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="preprocessor">    #include &lt;OpenIG-Base/Export.h&gt;</span></div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="preprocessor">    #include &lt;OpenIG-Base/Types.h&gt;</span></div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="preprocessor">    #include &lt;OpenIG-Base/StringUtils.h&gt;</span></div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="preprocessor">    #include &lt;Core-Base/Export.h&gt;</span></div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="preprocessor">    #include &lt;Core-Base/Types.h&gt;</span></div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="preprocessor">    #include &lt;Core-Base/StringUtils.h&gt;</span></div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;</div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;<span class="preprocessor">#include &lt;osg/ref_ptr&gt;</span></div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;<span class="preprocessor">#include &lt;osg/MatrixTransform&gt;</span></div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;<span class="preprocessor">#include &lt;osg/Group&gt;</span></div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="preprocessor">#include &lt;osg/Matrixd&gt;</span></div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;<span class="preprocessor">#include &lt;osg/Fog&gt;</span></div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;<span class="preprocessor">#include &lt;osg/LightSource&gt;</span></div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;<span class="preprocessor">#include &lt;osg/Program&gt;</span></div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;<span class="preprocessor">#include &lt;osgDB/ReadFile&gt;</span></div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;<span class="preprocessor">#include &lt;osgViewer/CompositeViewer&gt;</span></div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;<span class="preprocessor">#include &lt;map&gt;</span></div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_open_i_g.html">OpenIG</a> {</div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;    <span class="keyword">namespace </span>Base {</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;        <span class="keyword">class </span>RefAnimationSequenceCallbacks;</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;</div><div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="class_open_i_g_1_1_base_1_1_image_generator.html">   74</a></span>&#160;        <span class="keyword">class </span>IGCORE_EXPORT <a class="code" href="class_open_i_g_1_1_base_1_1_image_generator.html">ImageGenerator</a></div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;        {</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;        <span class="keyword">public</span>:</div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;            <a class="code" href="class_open_i_g_1_1_base_1_1_image_generator.html">ImageGenerator</a>();</div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;</div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;            <span class="keyword">virtual</span> ~<a class="code" href="class_open_i_g_1_1_base_1_1_image_generator.html">ImageGenerator</a>();</div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;</div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;            <span class="keyword">virtual</span> std::string version() = 0;</div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;</div><div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="class_open_i_g_1_1_base_1_1_image_generator.html#aade6995a60f67435d4f8207560408aee">  111</a></span>&#160;            <span class="keyword">typedef</span> std::vector&lt;unsigned int&gt;           <a class="code" href="class_open_i_g_1_1_base_1_1_image_generator.html#aade6995a60f67435d4f8207560408aee">ViewIdentifiers</a>;</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;</div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> init(osgViewer::CompositeViewer* viewer, <span class="keyword">const</span> std::string&amp; xmlFileName = <span class="stringliteral">&quot;openig.xml&quot;</span>, <span class="keyword">const</span> <a class="code" href="class_open_i_g_1_1_base_1_1_image_generator.html#aade6995a60f67435d4f8207560408aee">ViewIdentifiers</a>&amp; ids = <a class="code" href="class_open_i_g_1_1_base_1_1_image_generator.html#aade6995a60f67435d4f8207560408aee">ViewIdentifiers</a>()) = 0;</div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;</div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> cleanup() = 0;</div><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;</div><div class="line"><a name="l00156"></a><span class="lineno"><a class="line" href="struct_open_i_g_1_1_base_1_1_image_generator_1_1_read_node_implementation_callback.html">  156</a></span>&#160;            <span class="keyword">struct </span><a class="code" href="struct_open_i_g_1_1_base_1_1_image_generator_1_1_read_node_implementation_callback.html">ReadNodeImplementationCallback</a> : osg::Referenced</div><div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;            {</div><div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;                <span class="keyword">virtual</span> osg::Node* readNode(<span class="keyword">const</span> std::string&amp; fileName, <span class="keyword">const</span> osgDB::Options* options = 0) = 0;</div><div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;            };</div><div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;</div><div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> setReadNodeImplementationCallback(<a class="code" href="struct_open_i_g_1_1_base_1_1_image_generator_1_1_read_node_implementation_callback.html">ReadNodeImplementationCallback</a>* cb) = 0;</div><div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;</div><div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;            <span class="keyword">virtual</span> <a class="code" href="struct_open_i_g_1_1_base_1_1_image_generator_1_1_read_node_implementation_callback.html">ReadNodeImplementationCallback</a>* getReadNodeImplementationCallback() = 0;</div><div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> setReadFileCallback(osgDB::Registry::ReadFileCallback* cb) = 0;</div><div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;</div><div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;            <span class="keyword">virtual</span> osgDB::Registry::ReadFileCallback* getReadFileCallback() = 0;</div><div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;</div><div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;</div><div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> frame(<span class="keywordtype">bool</span> usePlugins = <span class="keyword">true</span>) = 0;</div><div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;</div><div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;            <span class="comment">// Scene management</span></div><div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;<span class="comment"></span>            <span class="keyword">virtual</span> <span class="keywordtype">void</span> addEntity(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <span class="keywordtype">id</span>, <span class="keyword">const</span> std::string&amp; fileName, <span class="keyword">const</span> osg::Matrixd&amp; mx, <span class="keyword">const</span> osgDB::Options* options = 0) = 0;</div><div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;</div><div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> addEntity(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <span class="keywordtype">id</span>, <span class="keyword">const</span> osg::Node* node, <span class="keyword">const</span> osg::Matrixd&amp; mx, <span class="keyword">const</span> osgDB::Options* options = 0) = 0;</div><div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;</div><div class="line"><a name="l00285"></a><span class="lineno">  285</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> removeEntity(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <span class="keywordtype">id</span>) = 0;</div><div class="line"><a name="l00286"></a><span class="lineno">  286</span>&#160;</div><div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> updateEntity(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <span class="keywordtype">id</span>, <span class="keyword">const</span> osg::Matrixd&amp; mx) = 0;</div><div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;</div><div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> showEntity(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <span class="keywordtype">id</span>, <span class="keywordtype">bool</span> show) = 0;</div><div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160;</div><div class="line"><a name="l00321"></a><span class="lineno">  321</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> bindToEntity(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <span class="keywordtype">id</span>, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> toEntityId) = 0;</div><div class="line"><a name="l00322"></a><span class="lineno">  322</span>&#160;</div><div class="line"><a name="l00333"></a><span class="lineno">  333</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> unbindFromEntity(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <span class="keywordtype">id</span>) = 0;</div><div class="line"><a name="l00334"></a><span class="lineno">  334</span>&#160;</div><div class="line"><a name="l00344"></a><span class="lineno">  344</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> reloadEntity(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <span class="keywordtype">id</span>, <span class="keyword">const</span> std::string&amp; fileName, <span class="keyword">const</span> osgDB::Options* options = 0) = 0;</div><div class="line"><a name="l00345"></a><span class="lineno">  345</span>&#160;</div><div class="line"><a name="l00355"></a><span class="lineno">  355</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> setEntityName(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <span class="keywordtype">id</span>, <span class="keyword">const</span> std::string&amp; name) = 0;</div><div class="line"><a name="l00356"></a><span class="lineno">  356</span>&#160;</div><div class="line"><a name="l00365"></a><span class="lineno">  365</span>&#160;            <span class="keyword">virtual</span> std::string getEntityName(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <span class="keywordtype">id</span>) = 0;</div><div class="line"><a name="l00366"></a><span class="lineno">  366</span>&#160;</div><div class="line"><a name="l00376"></a><span class="lineno">  376</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> getEntityId(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> parentEntityId, <span class="keyword">const</span> std::string&amp; subEntityName) = 0;</div><div class="line"><a name="l00377"></a><span class="lineno">  377</span>&#160;</div><div class="line"><a name="l00378"></a><span class="lineno">  378</span>&#160;            <span class="comment">// Effects</span></div><div class="line"><a name="l00390"></a><span class="lineno">  390</span>&#160;<span class="comment"></span>            <span class="keyword">virtual</span> <span class="keywordtype">void</span> addEffect(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <span class="keywordtype">id</span>, <span class="keyword">const</span> std::string&amp; name, <span class="keyword">const</span> osg::Matrixd&amp; mx, <span class="keyword">const</span> std::string&amp; attributes) = 0;</div><div class="line"><a name="l00391"></a><span class="lineno">  391</span>&#160;</div><div class="line"><a name="l00399"></a><span class="lineno">  399</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> removeEffect(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <span class="keywordtype">id</span>) = 0;</div><div class="line"><a name="l00400"></a><span class="lineno">  400</span>&#160;</div><div class="line"><a name="l00410"></a><span class="lineno">  410</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> bindEffect(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <span class="keywordtype">id</span>, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> entityID, <span class="keyword">const</span> osg::Matrixd&amp; mx) = 0;</div><div class="line"><a name="l00411"></a><span class="lineno">  411</span>&#160;</div><div class="line"><a name="l00419"></a><span class="lineno">  419</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> unbindEffect(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <span class="keywordtype">id</span>) = 0;</div><div class="line"><a name="l00420"></a><span class="lineno">  420</span>&#160;</div><div class="line"><a name="l00429"></a><span class="lineno">  429</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> updateEffect(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <span class="keywordtype">id</span>, <span class="keyword">const</span> osg::Matrixd&amp; mx) = 0;</div><div class="line"><a name="l00430"></a><span class="lineno">  430</span>&#160;</div><div class="line"><a name="l00440"></a><span class="lineno">  440</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> setEffectImplementationCallback(<a class="code" href="class_open_i_g_1_1_base_1_1_generic_implementation_callback.html">GenericImplementationCallback</a>* cb) = 0;</div><div class="line"><a name="l00441"></a><span class="lineno">  441</span>&#160;</div><div class="line"><a name="l00442"></a><span class="lineno">  442</span>&#160;            <span class="comment">// Camera manipulation</span></div><div class="line"><a name="l00453"></a><span class="lineno">  453</span>&#160;<span class="comment"></span>            <span class="keyword">virtual</span> <span class="keywordtype">void</span> setCameraPosition(<span class="keyword">const</span> osg::Matrixd&amp; mx, <span class="keywordtype">bool</span> viewMatrix = <span class="keyword">false</span>, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> cameraID = 0) = 0;</div><div class="line"><a name="l00454"></a><span class="lineno">  454</span>&#160;</div><div class="line"><a name="l00464"></a><span class="lineno">  464</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> bindCameraToEntity(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <span class="keywordtype">id</span>, <span class="keyword">const</span> osg::Matrixd&amp; mx, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> cameraID = 0) = 0;</div><div class="line"><a name="l00465"></a><span class="lineno">  465</span>&#160;</div><div class="line"><a name="l00475"></a><span class="lineno">  475</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> bindCameraUpdate(<span class="keyword">const</span> osg::Matrixd&amp; mx, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> cameraID = 0) = 0;</div><div class="line"><a name="l00476"></a><span class="lineno">  476</span>&#160;</div><div class="line"><a name="l00483"></a><span class="lineno">  483</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> unbindCameraFromEntity(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> cameraID = 0) = 0;</div><div class="line"><a name="l00484"></a><span class="lineno">  484</span>&#160;</div><div class="line"><a name="l00494"></a><span class="lineno">  494</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> bindEntityToCamera(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <span class="keywordtype">id</span>, <span class="keyword">const</span> osg::Matrixd&amp; mx, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> cameraID = 0) = 0;</div><div class="line"><a name="l00495"></a><span class="lineno">  495</span>&#160;</div><div class="line"><a name="l00506"></a><span class="lineno">  506</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> bindEntityToCameraUpdate(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <span class="keywordtype">id</span>, <span class="keyword">const</span> osg::Matrixd&amp; mx) = 0;</div><div class="line"><a name="l00507"></a><span class="lineno">  507</span>&#160;</div><div class="line"><a name="l00514"></a><span class="lineno">  514</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> unbindEntityFromCamera(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <span class="keywordtype">id</span>) = 0;</div><div class="line"><a name="l00515"></a><span class="lineno">  515</span>&#160;</div><div class="line"><a name="l00523"></a><span class="lineno">  523</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">bool</span> isCameraBoundToEntity(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> cameraID = 0) = 0;</div><div class="line"><a name="l00524"></a><span class="lineno">  524</span>&#160;</div><div class="line"><a name="l00537"></a><span class="lineno">  537</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> bindCameraSetFixedUp(<span class="keywordtype">bool</span> fixedUp, <span class="keywordtype">bool</span> freezeOrientation = <span class="keyword">false</span>, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> cameraID = 0) = 0;</div><div class="line"><a name="l00538"></a><span class="lineno">  538</span>&#160;</div><div class="line"><a name="l00539"></a><span class="lineno">  539</span>&#160;            <span class="comment">// Animation</span></div><div class="line"><a name="l00558"></a><span class="lineno">  558</span>&#160;<span class="comment"></span>            <span class="keyword">virtual</span> <span class="keywordtype">void</span> playAnimation(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> entityId, <span class="keyword">const</span> std::string&amp; animationName) = 0;</div><div class="line"><a name="l00559"></a><span class="lineno">  559</span>&#160;</div><div class="line"><a name="l00570"></a><span class="lineno">  570</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> playAnimation(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> entityId, <span class="keyword">const</span> StringUtils::StringList&amp; animations) = 0;</div><div class="line"><a name="l00571"></a><span class="lineno">  571</span>&#160;</div><div class="line"><a name="l00588"></a><span class="lineno">  588</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> playAnimation(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> entityId, <span class="keyword">const</span> std::string&amp; animationName, <a class="code" href="class_open_i_g_1_1_base_1_1_ref_animation_sequence_callbacks.html">RefAnimationSequenceCallbacks</a>* cbs) = 0;</div><div class="line"><a name="l00589"></a><span class="lineno">  589</span>&#160;</div><div class="line"><a name="l00598"></a><span class="lineno">  598</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> stopAnimation(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> entityId, <span class="keyword">const</span> std::string&amp; animationName) = 0;</div><div class="line"><a name="l00599"></a><span class="lineno">  599</span>&#160;</div><div class="line"><a name="l00608"></a><span class="lineno">  608</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> stopAnimation(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> entityId, <span class="keyword">const</span> StringUtils::StringList&amp; animations) = 0;</div><div class="line"><a name="l00609"></a><span class="lineno">  609</span>&#160;</div><div class="line"><a name="l00619"></a><span class="lineno">  619</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> resetAnimation(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> entityId, <span class="keyword">const</span> std::string&amp; animationName) = 0;</div><div class="line"><a name="l00620"></a><span class="lineno">  620</span>&#160;</div><div class="line"><a name="l00630"></a><span class="lineno">  630</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> resetAnimation(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> entityId, <span class="keyword">const</span> StringUtils::StringList&amp; animations) = 0;</div><div class="line"><a name="l00631"></a><span class="lineno">  631</span>&#160;</div><div class="line"><a name="l00641"></a><span class="lineno"><a class="line" href="class_open_i_g_1_1_base_1_1_image_generator.html#aac729739f7a77d7bbdd93711d5abe9e1">  641</a></span>&#160;            <span class="keyword">enum</span> <a class="code" href="class_open_i_g_1_1_base_1_1_image_generator.html#aac729739f7a77d7bbdd93711d5abe9e1">AnimationStatus</a></div><div class="line"><a name="l00642"></a><span class="lineno">  642</span>&#160;            {</div><div class="line"><a name="l00643"></a><span class="lineno">  643</span>&#160;                Play,</div><div class="line"><a name="l00644"></a><span class="lineno">  644</span>&#160;                Stop,</div><div class="line"><a name="l00645"></a><span class="lineno">  645</span>&#160;                Reset,</div><div class="line"><a name="l00646"></a><span class="lineno">  646</span>&#160;                Pause,</div><div class="line"><a name="l00647"></a><span class="lineno">  647</span>&#160;                Restore</div><div class="line"><a name="l00648"></a><span class="lineno">  648</span>&#160;            };</div><div class="line"><a name="l00649"></a><span class="lineno">  649</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> changeAnimationStatus(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> entityId, AnimationStatus status, <span class="keyword">const</span> StringUtils::StringList&amp; animations) = 0;</div><div class="line"><a name="l00650"></a><span class="lineno">  650</span>&#160;</div><div class="line"><a name="l00651"></a><span class="lineno">  651</span>&#160;            <span class="comment">// Environment</span></div><div class="line"><a name="l00662"></a><span class="lineno">  662</span>&#160;<span class="comment"></span>            <span class="keyword">virtual</span> <span class="keywordtype">void</span> setFog(<span class="keywordtype">double</span> visibility) = 0;</div><div class="line"><a name="l00663"></a><span class="lineno">  663</span>&#160;</div><div class="line"><a name="l00675"></a><span class="lineno">  675</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> setDate(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> month,<span class="keywordtype">int</span> day, <span class="keywordtype">int</span> year) = 0;</div><div class="line"><a name="l00676"></a><span class="lineno">  676</span>&#160;</div><div class="line"><a name="l00687"></a><span class="lineno">  687</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> setTimeOfDay(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> hour, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> minutes) = 0;</div><div class="line"><a name="l00688"></a><span class="lineno">  688</span>&#160;</div><div class="line"><a name="l00699"></a><span class="lineno">  699</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> setRain(<span class="keywordtype">double</span> factor) = 0;</div><div class="line"><a name="l00700"></a><span class="lineno">  700</span>&#160;</div><div class="line"><a name="l00711"></a><span class="lineno">  711</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> setSnow(<span class="keywordtype">double</span> factor) = 0;</div><div class="line"><a name="l00712"></a><span class="lineno">  712</span>&#160;</div><div class="line"><a name="l00725"></a><span class="lineno">  725</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> setWind(<span class="keywordtype">float</span> speed, <span class="keywordtype">float</span> direction = 0.f) = 0;</div><div class="line"><a name="l00726"></a><span class="lineno">  726</span>&#160;</div><div class="line"><a name="l00727"></a><span class="lineno">  727</span>&#160;            <span class="comment">// Atmosphere</span></div><div class="line"><a name="l00745"></a><span class="lineno">  745</span>&#160;<span class="comment"></span>            <span class="keyword">virtual</span> <span class="keywordtype">void</span> addCloudLayer(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <span class="keywordtype">id</span>, <span class="keywordtype">int</span> type, <span class="keywordtype">double</span> altitude, <span class="keywordtype">double</span> thickness = 0, <span class="keywordtype">double</span> density = 0.3, <span class="keywordtype">bool</span> enable = <span class="keyword">true</span>) = 0;</div><div class="line"><a name="l00746"></a><span class="lineno">  746</span>&#160;</div><div class="line"><a name="l00757"></a><span class="lineno">  757</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> enableCloudLayer(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <span class="keywordtype">id</span>, <span class="keywordtype">bool</span> enableIn = <span class="keyword">true</span>) = 0;</div><div class="line"><a name="l00758"></a><span class="lineno">  758</span>&#160;</div><div class="line"><a name="l00768"></a><span class="lineno">  768</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> removeCloudLayer(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <span class="keywordtype">id</span>) = 0;</div><div class="line"><a name="l00769"></a><span class="lineno">  769</span>&#160;</div><div class="line"><a name="l00784"></a><span class="lineno">  784</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> updateCloudLayer(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <span class="keywordtype">id</span>, <span class="keywordtype">double</span> altitude, <span class="keywordtype">double</span> thickness, <span class="keywordtype">double</span> density) = 0;</div><div class="line"><a name="l00785"></a><span class="lineno">  785</span>&#160;</div><div class="line"><a name="l00794"></a><span class="lineno">  794</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> removeAllCloudlayers() = 0;</div><div class="line"><a name="l00795"></a><span class="lineno">  795</span>&#160;</div><div class="line"><a name="l00817"></a><span class="lineno">  817</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> createCloudLayerFile(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <span class="keywordtype">id</span>, <span class="keywordtype">int</span> type, <span class="keywordtype">double</span> altitude, <span class="keywordtype">double</span> thickness=0, <span class="keywordtype">double</span> density=0.3, <span class="keywordtype">bool</span> enable=<span class="keyword">true</span>, <span class="keyword">const</span> std::string&amp; filename=<span class="stringliteral">&quot;&quot;</span>) = 0;</div><div class="line"><a name="l00818"></a><span class="lineno">  818</span>&#160;</div><div class="line"><a name="l00829"></a><span class="lineno">  829</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> removeCloudLayerFile(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <span class="keywordtype">id</span>) = 0;</div><div class="line"><a name="l00830"></a><span class="lineno">  830</span>&#160;</div><div class="line"><a name="l00843"></a><span class="lineno">  843</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> loadCloudLayerFile(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <span class="keywordtype">id</span>, <span class="keywordtype">int</span> type, <span class="keyword">const</span> std::string&amp; filename) = 0;</div><div class="line"><a name="l00844"></a><span class="lineno">  844</span>&#160;</div><div class="line"><a name="l00845"></a><span class="lineno">  845</span>&#160;            <span class="comment">// Lights</span></div><div class="line"><a name="l00856"></a><span class="lineno">  856</span>&#160;<span class="comment"></span>            <span class="keyword">virtual</span> <span class="keywordtype">void</span> setLightImplementationCallback(<a class="code" href="class_open_i_g_1_1_base_1_1_light_implementation_callback.html">LightImplementationCallback</a>* cb) = 0;</div><div class="line"><a name="l00857"></a><span class="lineno">  857</span>&#160;</div><div class="line"><a name="l00874"></a><span class="lineno">  874</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> addLight(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <span class="keywordtype">id</span>, <span class="keyword">const</span> <a class="code" href="struct_open_i_g_1_1_base_1_1_light_attributes.html">LightAttributes</a>&amp; lightAttributes, <span class="keyword">const</span> osg::Matrixd&amp; mx) = 0;</div><div class="line"><a name="l00875"></a><span class="lineno">  875</span>&#160;</div><div class="line"><a name="l00883"></a><span class="lineno">  883</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> removeLight(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <span class="keywordtype">id</span>) = 0;</div><div class="line"><a name="l00884"></a><span class="lineno">  884</span>&#160;</div><div class="line"><a name="l00895"></a><span class="lineno">  895</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> updateLight(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <span class="keywordtype">id</span>, <span class="keyword">const</span> osg::Matrixd&amp; mx) = 0;</div><div class="line"><a name="l00896"></a><span class="lineno">  896</span>&#160;</div><div class="line"><a name="l00905"></a><span class="lineno">  905</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> setLightUserData(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <span class="keywordtype">id</span>, osg::Referenced* data) = 0;</div><div class="line"><a name="l00906"></a><span class="lineno">  906</span>&#160;</div><div class="line"><a name="l00916"></a><span class="lineno">  916</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> bindLightToEntity(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <span class="keywordtype">id</span>, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> entityId) = 0;</div><div class="line"><a name="l00917"></a><span class="lineno">  917</span>&#160;</div><div class="line"><a name="l00926"></a><span class="lineno">  926</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> unbindLightFromEntity(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <span class="keywordtype">id</span>) = 0;</div><div class="line"><a name="l00927"></a><span class="lineno">  927</span>&#160;</div><div class="line"><a name="l00939"></a><span class="lineno">  939</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> enableLight(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <span class="keywordtype">id</span>, <span class="keywordtype">bool</span> enable, <span class="keywordtype">bool</span> hard = <span class="keyword">true</span>) = 0;</div><div class="line"><a name="l00940"></a><span class="lineno">  940</span>&#160;</div><div class="line"><a name="l00953"></a><span class="lineno">  953</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> bindLightToCamera(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <span class="keywordtype">id</span>, <span class="keyword">const</span> osg::Matrixd&amp; offset = osg::Matrixd::identity()) = 0;</div><div class="line"><a name="l00954"></a><span class="lineno">  954</span>&#160;</div><div class="line"><a name="l00962"></a><span class="lineno">  962</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> unbindLightFromcamera(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <span class="keywordtype">id</span>) = 0;</div><div class="line"><a name="l00963"></a><span class="lineno">  963</span>&#160;</div><div class="line"><a name="l00973"></a><span class="lineno">  973</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">bool</span> isLightEnabled(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <span class="keywordtype">id</span>) = 0;</div><div class="line"><a name="l00974"></a><span class="lineno">  974</span>&#160;</div><div class="line"><a name="l00975"></a><span class="lineno">  975</span>&#160;            <span class="keyword">typedef</span> std::map&lt; unsigned int, LightAttributes &gt;       LightAttributesMap;</div><div class="line"><a name="l00976"></a><span class="lineno">  976</span>&#160;</div><div class="line"><a name="l00985"></a><span class="lineno">  985</span>&#160;            <span class="keyword">virtual</span> LightAttributesMap&amp; getLightAttributesMap() = 0;</div><div class="line"><a name="l00986"></a><span class="lineno">  986</span>&#160;</div><div class="line"><a name="l00996"></a><span class="lineno">  996</span>&#160;            <span class="keyword">virtual</span> <a class="code" href="struct_open_i_g_1_1_base_1_1_light_attributes.html">LightAttributes</a> getLightAttributes(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <span class="keywordtype">id</span>) = 0;</div><div class="line"><a name="l00997"></a><span class="lineno">  997</span>&#160;</div><div class="line"><a name="l01009"></a><span class="lineno"> 1009</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> updateLightAttributes(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <span class="keywordtype">id</span>, <span class="keyword">const</span> <a class="code" href="struct_open_i_g_1_1_base_1_1_light_attributes.html">LightAttributes</a>&amp; attribs) = 0;</div><div class="line"><a name="l01010"></a><span class="lineno"> 1010</span>&#160;</div><div class="line"><a name="l01020"></a><span class="lineno"> 1020</span>&#160;            <span class="keyword">virtual</span> osgViewer::CompositeViewer* getViewer() = 0;</div><div class="line"><a name="l01021"></a><span class="lineno"> 1021</span>&#160;</div><div class="line"><a name="l01032"></a><span class="lineno"> 1032</span>&#160;            <span class="keyword">virtual</span> osg::Node* getScene() = 0;</div><div class="line"><a name="l01033"></a><span class="lineno"> 1033</span>&#160;</div><div class="line"><a name="l01040"></a><span class="lineno"><a class="line" href="class_open_i_g_1_1_base_1_1_image_generator.html#a32c1e1a62540af3ba83afe4ab0340ad6"> 1040</a></span>&#160;            <span class="keyword">typedef</span> osg::ref_ptr&lt;osg::MatrixTransform&gt;                      <a class="code" href="class_open_i_g_1_1_base_1_1_image_generator.html#a32c1e1a62540af3ba83afe4ab0340ad6">Entity</a>;</div><div class="line"><a name="l01041"></a><span class="lineno"> 1041</span>&#160;            <span class="keyword">typedef</span> std::map&lt; unsigned int, Entity &gt;                        EntityMap;</div><div class="line"><a name="l01042"></a><span class="lineno"> 1042</span>&#160;            <span class="keyword">typedef</span> std::map&lt; unsigned int, Entity &gt;::iterator              EntityMapIterator;</div><div class="line"><a name="l01043"></a><span class="lineno"> 1043</span>&#160;            <span class="keyword">typedef</span> std::map&lt; unsigned int, Entity &gt;::const_iterator        EntityMapConstIterator;</div><div class="line"><a name="l01044"></a><span class="lineno"> 1044</span>&#160;</div><div class="line"><a name="l01054"></a><span class="lineno"> 1054</span>&#160;            <span class="keyword">virtual</span> EntityMap&amp; getEntityMap() = 0;</div><div class="line"><a name="l01055"></a><span class="lineno"> 1055</span>&#160;</div><div class="line"><a name="l01056"></a><span class="lineno"> 1056</span>&#160;</div><div class="line"><a name="l01064"></a><span class="lineno"> 1064</span>&#160;            <span class="keyword">virtual</span> osg::LightSource*   getSunOrMoonLight() = 0;</div><div class="line"><a name="l01065"></a><span class="lineno"> 1065</span>&#160;</div><div class="line"><a name="l01073"></a><span class="lineno"> 1073</span>&#160;            <span class="keyword">virtual</span> osg::Fog*           getFog() = 0;</div><div class="line"><a name="l01074"></a><span class="lineno"> 1074</span>&#160;</div><div class="line"><a name="l01082"></a><span class="lineno"> 1082</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> turnOnCrashScreen(<span class="keyword">const</span> std::string&amp; crashtext) = 0;</div><div class="line"><a name="l01083"></a><span class="lineno"> 1083</span>&#160;</div><div class="line"><a name="l01090"></a><span class="lineno"> 1090</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> turnOffCrashScreen() = 0;</div><div class="line"><a name="l01091"></a><span class="lineno"> 1091</span>&#160;</div><div class="line"><a name="l01099"></a><span class="lineno"> 1099</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> turnOnScreenMessage(<span class="keyword">const</span> std::string&amp; text) = 0;</div><div class="line"><a name="l01100"></a><span class="lineno"> 1100</span>&#160;</div><div class="line"><a name="l01107"></a><span class="lineno"> 1107</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> turnOffScreenMessage() = 0;</div><div class="line"><a name="l01108"></a><span class="lineno"> 1108</span>&#160;</div><div class="line"><a name="l01115"></a><span class="lineno"> 1115</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> preRender() = 0;</div><div class="line"><a name="l01116"></a><span class="lineno"> 1116</span>&#160;</div><div class="line"><a name="l01123"></a><span class="lineno"> 1123</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> postRender() = 0;</div><div class="line"><a name="l01124"></a><span class="lineno"> 1124</span>&#160;            </div><div class="line"><a name="l01131"></a><span class="lineno"><a class="line" href="class_open_i_g_1_1_base_1_1_image_generator.html#abd9544223ea20b204486958b9eef19e3"> 1131</a></span>&#160;            <span class="keyword">enum</span> <a class="code" href="class_open_i_g_1_1_base_1_1_image_generator.html#abd9544223ea20b204486958b9eef19e3">IntersectionMask</a></div><div class="line"><a name="l01132"></a><span class="lineno"> 1132</span>&#160;            {</div><div class="line"><a name="l01133"></a><span class="lineno"> 1133</span>&#160;                Terrain = 0x1,</div><div class="line"><a name="l01134"></a><span class="lineno"> 1134</span>&#160;                Scene = 0xF</div><div class="line"><a name="l01135"></a><span class="lineno"> 1135</span>&#160;            };</div><div class="line"><a name="l01136"></a><span class="lineno"> 1136</span>&#160;</div><div class="line"><a name="l01143"></a><span class="lineno"><a class="line" href="struct_open_i_g_1_1_base_1_1_image_generator_1_1_intersection_callback.html"> 1143</a></span>&#160;            <span class="keyword">struct </span><a class="code" href="struct_open_i_g_1_1_base_1_1_image_generator_1_1_intersection_callback.html">IntersectionCallback</a> : <span class="keyword">public</span> osg::Referenced</div><div class="line"><a name="l01144"></a><span class="lineno"> 1144</span>&#160;            {</div><div class="line"><a name="l01145"></a><span class="lineno"> 1145</span>&#160;                <span class="keyword">virtual</span> <span class="keywordtype">bool</span> intersect(<span class="keyword">const</span> osg::Vec3d&amp; start, <span class="keyword">const</span> osg::Vec3d&amp; end, osg::Vec3d&amp; intersectionPoint, <span class="keywordtype">unsigned</span> mask) = 0;</div><div class="line"><a name="l01146"></a><span class="lineno"> 1146</span>&#160;            };</div><div class="line"><a name="l01147"></a><span class="lineno"> 1147</span>&#160;</div><div class="line"><a name="l01154"></a><span class="lineno"> 1154</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> setIntersectionCallback(<a class="code" href="struct_open_i_g_1_1_base_1_1_image_generator_1_1_intersection_callback.html">IntersectionCallback</a>* cb) = 0;</div><div class="line"><a name="l01155"></a><span class="lineno"> 1155</span>&#160;            </div><div class="line"><a name="l01166"></a><span class="lineno"> 1166</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">bool</span> intersect(<span class="keyword">const</span> osg::Vec3d&amp; start, <span class="keyword">const</span> osg::Vec3d&amp; end, osg::Vec3d&amp; intersectionPoint, <span class="keywordtype">unsigned</span> mask) = 0;</div><div class="line"><a name="l01167"></a><span class="lineno"> 1167</span>&#160;        };</div><div class="line"><a name="l01168"></a><span class="lineno"> 1168</span>&#160;    } <span class="comment">// names0pace</span></div><div class="line"><a name="l01169"></a><span class="lineno"> 1169</span>&#160;} <span class="comment">// namespace</span></div><div class="line"><a name="l01170"></a><span class="lineno"> 1170</span>&#160;</div><div class="line"><a name="l01171"></a><span class="lineno"> 1171</span>&#160;<span class="preprocessor">#endif // IMAGEGENERATOR_H</span></div><div class="ttc" id="namespace_open_i_g_html"><div class="ttname"><a href="namespace_open_i_g.html">OpenIG</a></div><div class="ttdef"><b>Definition:</b> Animation.h:55</div></div>
<div class="ttc" id="class_open_i_g_1_1_base_1_1_image_generator_html_abd9544223ea20b204486958b9eef19e3"><div class="ttname"><a href="class_open_i_g_1_1_base_1_1_image_generator.html#abd9544223ea20b204486958b9eef19e3">OpenIG::Base::ImageGenerator::IntersectionMask</a></div><div class="ttdeci">IntersectionMask</div><div class="ttdoc">Mask to perform the intersection against. </div><div class="ttdef"><b>Definition:</b> ImageGenerator.h:1131</div></div>
<div class="ttc" id="struct_open_i_g_1_1_base_1_1_image_generator_1_1_intersection_callback_html"><div class="ttname"><a href="struct_open_i_g_1_1_base_1_1_image_generator_1_1_intersection_callback.html">OpenIG::Base::ImageGenerator::IntersectionCallback</a></div><div class="ttdoc">Intersection callback. </div><div class="ttdef"><b>Definition:</b> ImageGenerator.h:1143</div></div>
<div class="ttc" id="class_open_i_g_1_1_base_1_1_generic_implementation_callback_html"><div class="ttname"><a href="class_open_i_g_1_1_base_1_1_generic_implementation_callback.html">OpenIG::Base::GenericImplementationCallback</a></div><div class="ttdoc">This class is general purpose class for creating and managing custom implementation of entities...</div><div class="ttdef"><b>Definition:</b> Types.h:715</div></div>
<div class="ttc" id="struct_open_i_g_1_1_base_1_1_image_generator_1_1_read_node_implementation_callback_html"><div class="ttname"><a href="struct_open_i_g_1_1_base_1_1_image_generator_1_1_read_node_implementation_callback.html">OpenIG::Base::ImageGenerator::ReadNodeImplementationCallback</a></div><div class="ttdoc">Performs cleanup. </div><div class="ttdef"><b>Definition:</b> ImageGenerator.h:156</div></div>
<div class="ttc" id="class_open_i_g_1_1_base_1_1_image_generator_html"><div class="ttname"><a href="class_open_i_g_1_1_base_1_1_image_generator.html">OpenIG::Base::ImageGenerator</a></div><div class="ttdoc">The Image Generator abstract interface. This is base class for openig::OpenIG. </div><div class="ttdef"><b>Definition:</b> ImageGenerator.h:74</div></div>
<div class="ttc" id="class_open_i_g_1_1_base_1_1_image_generator_html_aade6995a60f67435d4f8207560408aee"><div class="ttname"><a href="class_open_i_g_1_1_base_1_1_image_generator.html#aade6995a60f67435d4f8207560408aee">OpenIG::Base::ImageGenerator::ViewIdentifiers</a></div><div class="ttdeci">std::vector&lt; unsigned int &gt; ViewIdentifiers</div><div class="ttdoc">One might want to have the Image Generator only in some views, so this typedef holds the IDs of the v...</div><div class="ttdef"><b>Definition:</b> ImageGenerator.h:111</div></div>
<div class="ttc" id="class_open_i_g_1_1_base_1_1_image_generator_html_a32c1e1a62540af3ba83afe4ab0340ad6"><div class="ttname"><a href="class_open_i_g_1_1_base_1_1_image_generator.html#a32c1e1a62540af3ba83afe4ab0340ad6">OpenIG::Base::ImageGenerator::Entity</a></div><div class="ttdeci">osg::ref_ptr&lt; osg::MatrixTransform &gt; Entity</div><div class="ttdoc">This is our Entity, a base for models in the scene. </div><div class="ttdef"><b>Definition:</b> ImageGenerator.h:1040</div></div>
<div class="ttc" id="struct_open_i_g_1_1_base_1_1_light_attributes_html"><div class="ttname"><a href="struct_open_i_g_1_1_base_1_1_light_attributes.html">OpenIG::Base::LightAttributes</a></div><div class="ttdoc">The LightAttributes struct. </div><div class="ttdef"><b>Definition:</b> Types.h:586</div></div>
<div class="ttc" id="class_open_i_g_1_1_base_1_1_image_generator_html_aac729739f7a77d7bbdd93711d5abe9e1"><div class="ttname"><a href="class_open_i_g_1_1_base_1_1_image_generator.html#aac729739f7a77d7bbdd93711d5abe9e1">OpenIG::Base::ImageGenerator::AnimationStatus</a></div><div class="ttdeci">AnimationStatus</div><div class="ttdoc">Changes the animation status. </div><div class="ttdef"><b>Definition:</b> ImageGenerator.h:641</div></div>
<div class="ttc" id="class_open_i_g_1_1_base_1_1_light_implementation_callback_html"><div class="ttname"><a href="class_open_i_g_1_1_base_1_1_light_implementation_callback.html">OpenIG::Base::LightImplementationCallback</a></div><div class="ttdoc">The LightImplementationCallback class. </div><div class="ttdef"><b>Definition:</b> Types.h:731</div></div>
<div class="ttc" id="class_open_i_g_1_1_base_1_1_ref_animation_sequence_callbacks_html"><div class="ttname"><a href="class_open_i_g_1_1_base_1_1_ref_animation_sequence_callbacks.html">OpenIG::Base::RefAnimationSequenceCallbacks</a></div><div class="ttdef"><b>Definition:</b> Animation.h:89</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed May 16 2018 15:41:11 for OpenIG by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
